package com.xydtech.ecard.ecard.mapper;

import com.xydtech.ecard.ecard.domain.EcardApiMerchantHandover;

import java.util.List;

/**
 * 商户移交记录Mapper接口
 * 
 * @author xydtech
 * @date 2023-07-27
 */
public interface EcardApiMerchantHandoverMapper
{
    /**
     * 查询商户移交记录
     * 
     * @param id 商户移交记录主键
     * @return 商户移交记录
     */
    public EcardApiMerchantHandover selectEcardMerchantHandoverById(Long id);

    /**
     * 查询商户移交记录列表
     * 
     * @param ecardMerchantHandover 商户移交记录
     * @return 商户移交记录集合
     */
    public List<EcardApiMerchantHandover> selectEcardMerchantHandoverList(EcardApiMerchantHandover ecardMerchantHandover);

    /**
     * 新增商户移交记录
     * 
     * @param ecardMerchantHandover 商户移交记录
     * @return 结果
     */
    public int insertEcardMerchantHandover(EcardApiMerchantHandover ecardMerchantHandover);
}
